package com.hn658.base.message.notisender.sender.comet;

public interface IIsOnlineManager {

	/**
	 * 设置用户离线，清楚当前聊天对象缓存
	 * @param appId
	 * @param uid
	 */
	public void offline(String appId, String uid);
	
	/**
	 * 设置用户在线
	 * @param appId
	 * @param uid
	 */
	public void online(String appId, String uid);


    /**
     * 判断是否在线
     * @param appId
     * @param uid
     * @return
     */
    boolean isonline(String appId, String uid);

}
